<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>后台管理系统</title>
	<link rel="stylesheet" type="text/css" th:href="@{/jquery-easyui/{version}/themes/default/easyui.css(version=${easyuiVersion})}">
	<link rel="stylesheet" type="text/css" th:href="@{/jquery-easyui/{version}/themes/icon.css(version=${easyuiVersion})}">
	<link rel="stylesheet" type="text/css" th:href="@{/css/system_main.css(version=${fileVersion})}">
	<link rel="stylesheet" type="text/css" th:href="@{/css/icon.css(version=${fileVersion})}">
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" th:style="|height:65px;background:url(@{/images/wrapbg.jpg});|">
		<div style="margin:0 auto;width:950px;font-family:Verdana,Arial,Helvetica,sans-serif;">
			<div style="color:white;font-weight:bold;font-size:25px;line-height:55px;float:left;" th:text="${projectName}+'后台管理系统'">
			</div>
			<div style="float:right;line-height:55px;">
				<span style="font-size:14px;font-weight:bold;color:white;">欢迎您, <span id="system-fullname-span" th:text="${session.loginUser.fullname}"></span></span>
			</div>
		</div>
	</div>
	<div data-options="region:'west',title:'导航栏',split:true" style="width:150px;">
		<div id="accordion" class="easyui-accordion" data-options="fit:true,border:false">
			<div th:each="node : ${navlist}" th:title="${node.name}">
				<ul class="navul">
					<li th:each="nav : ${node.children}" th:data-url="@{${nav.url}}">
						<img alt="${nav.name}" th:src="@{/navimage/}+${nav.imageurl}" width="48" height="48">
						<br>
						<span th:text="${nav.name }"></span>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<div data-options="region:'center'">
		<div id="tabs" class="easyui-tabs" data-options="fit:true,border:false">
			<div title="欢迎" data-options="fit:true,iconCls:'icon-house'">
				<h1>您好,欢迎使用后台管理系统!</h1>
			</div>
		</div>
	</div>
	<div id="update-password-dialog" style="display:none;">
		<form th:action="@{/system/loginuser/update_password}" method="post">
			<table class="addform">
				<tr>
					<td class="title" colspan="2">修改登录密码</td>
				</tr>
				<tr>
					<td class="label">旧密码</td>
					<td class="input">
						<input type="password" name="old_password">
					</td>
				</tr>
				<tr>
					<td class="label">新密码</td>
					<td class="input">
						<input type="password" name="password">
					</td>
				</tr>
				<tr>
					<td class="label">确认新密码</td>
					<td class="input">
						<input type="password" name="agin_password">
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div id="update-fullname-dialog" style="display:none;">
		<form th:action="@{/system/loginuser/update_fullname}" method="post">
			<input type="hidden" name="id" th:value="${session.loginUser.id}">
			<table class="addform">
				<tr>
					<td class="title" colspan="2">修改姓名</td>
				</tr>
				<tr>
					<td class="label">姓名</td>
					<td class="input">
						<input type="text" name="fullname">
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div id="service_baseurl" style="display:none;" th:data-url="${#request.contextPath}+' '" th:data-password="${update_password}"></div>
	<script th:src="@{/jquery/{version}/jquery.js(version=${jqueryVersion})}"></script>
	<script th:src="@{/jquery-easyui/{version}/jquery.easyui.min.js(version=${easyuiVersion})}"></script>
	<script th:src="@{/jquery-easyui/{version}/locale/easyui-lang-zh_CN.js(version=${easyuiVersion})}"></script>
	<script th:src="@{/js/main.js(version=${fileVersion})}"></script>
</body>
</html>